<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>app view</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="style/css/bootstrap.min.css">
    <link rel="stylesheet" href="style/css/style.css">
    <script src="style/js/jquery-2.1.1.min.js"></script>
    <script src="style/js/bootstrap.min.js"></script>
</head>

<body>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="#">
                    <i class="glyphicon glyphicon-chevron-left"></i>返回</a>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <!--文章列表项-->
                <div class="panel">
                    <div class="panel-heading">
                        <h3>发布文章</h3>
                    </div>
                    <div class="panel-body">
                        <form action="#">
                            <div class="form-group">
                                <label for="title">标题</label>
                                <input type="text" class="form-control">
                            </div>
                            <div class="form-group">
                                <label for="title">略缩图</label>
                                <input type="file" class="form-control">
                                <div class="thumbnail">
                                    <img src="http://placehold.it/800x600&text=thumbnail" alt="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="title">内容</label>
                                <textarea class="form-control" rows="6"></textarea>
                            </div>

                            <div class="form-group">
                                <div class="row">
                                    <div class="col-xs-6">
                                        <input type="submit" class="btn btn-primary btn-block" value="登陆">
                                    </div>
                                    <div class="col-xs-6">
                                        <input type="reset" class="btn btn-info btn-block">
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="panel-footer">

                    </div>
                </div>


            </div>
            <!--./col-xs-12-->
        </div>
        <!--        /row-->


    </div>
    <script>
        $('.panelize-meeeee').scotchPanel({
            direction: 'left', // Will be overwritten by the Data Attributes
            duration: 150, // Will apply to both
            distanceX: '70%'
        });
    </script>
</body>

</html>
